package com.leon.spring.day01.demo2;

/**
 * Created by Administrator on 2017/4/15.
 */
public class Computer {
    private USB usb;

    public void setUsb(USB usb) {
        this.usb = usb;
    }

    public void execute(){
        System.out.println("Use computer");
        usb.input();
        usb.output();
    }

}
